package cn.gson.springboot.model.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

@Mapper
public interface ClearingMapper {
	//结算明细
	public JSONArray clearDetails(@Param("hid")Integer hid,@Param("type")Integer type);
	
	// 查询当日是否有结算记录 
	public JSONArray findClearByDate(@Param("hid")Integer hid);
	
	// 费用查询
	public JSONArray findCost(@Param("hid")Integer hid,
			@Param("opin")Integer opin);
}
